#[macro_use]
extern crate log;
#[macro_use]
extern crate serde_json;
// #[macro_use]
// extern crate serde;

mod cookie;
mod driver_handle;
mod error;
mod thirtyfour_async;
mod tools;
mod type_definition;
#[macro_use]
mod macro_x;

pub use cookie::Cookie;
pub use driver_handle::DriverTrait;
pub use error::Error;
pub use thirtyfour_async::new;
pub use thirtyfour_async::Keys;
pub use tools::*;

/// 税务局同步结果
pub type EtaxR<T = ()> = Result<T, crate::Error>;

/// 打开流览器执行此js
const CDP_JS: &str = include_str!("stealth.min.js");

/// 浏览器用户识别标志
const USER_AGENT: &str = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36 Edg/87.0.664.47";

// mod driver_handle_async;
// mod driver_impl_thirtyfour_async;
// pub use driver_handle_async::DriverTraitAsync;
// pub use driver_impl_thirtyfour_async::New as NewThirtyfourAsync;
